<template>
	<view>
		<view class="empty-container">
			<view style="width: 400rpx;height: 260rpx">
				<image src="/static/image/empty.png" style="width: 100%;height: 100%"></image>
			</view>

			<view style="color: #c0c4cc" v-if="emptyTitle">{{ emptyTitle }}</view>
			<view style="color: #c0c4cc" v-else>暂无数据</view>
		</view>
	</view>
</template>

<script>
export default {
	props: {
		emptyTitle: {
			type: String,
			default: null
		}
	},
	name: "empty",
	data() {
		return {

		};
	}
}
</script>

<style>
.empty-container {
	width: 450rpx;
	height: 400rpx;
	margin: 40rpx auto 0;
	text-align: center
}
</style>